.searchlist {
    width: 980px;
    background: #fff;
    margin: 0 auto;
    min-height: 800px;
    box-shadow: 0px 0 10px #e1e1e1;
    border-radius: 12px;
    padding: 40px;

    .search {
        width: 420px;
        height: 40px;
        margin: 0 auto;
        button {
            background-color: #db6e6e;
        }
    }
}

// 搜索分类菜单
.searchUl {
    // background: #f6f6f6;
    border-radius: 4px;
    // border: 1px solid #d3d3d3;
    margin-top: 40px;
    display: flex;
    justify-content: space-between;

    li {
        a {
            display: inline-block;
            width: 120px;
            line-height: 30px;
            text-align: center;
            cursor: pointer;
            font-size: 14px;
            color: #333333;
        }

        .active {
            // background-color: #c20c0c;
            border-radius: 4px;
            color: #db6e6e;
            transition: .2s;
        }
    }

    li:hover {
        background: #d3d3d3;
        border-radius: 4px;
        transition: .2s;
    }
}

// 加载盒子
.loadingbox {
    width: 980px;
    height: 100px;
}

// 列表样式渲染
.searchli {
    position: relative;
    min-height: 40px;
    font-size: 12px;
    box-sizing: border-box;
    display: flex;
    align-items: center;

    .name{

        white-space: nowrap;
        text-overflow: ellipsis;
        display: block;
        max-width: 380px;
        overflow: hidden;
    }
    .name,
    .artists,
    .time {
        color: #333333;
    }

    .time {
        position: absolute;
        right: 30px;
    }

    .alias {
        color: #aeaeae;
    }
    
    .artists {
        position: absolute;
        display: block;
        left: 540px;
        max-width: 150px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .albumname {
        display: inline-block;
        position: absolute;
        left: 720px;
        max-width: 155px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        color: #666666;
    }

    .mvsvg {
        svg {
            vertical-align: middle;
            padding-left: 10px;
            width: 20px;
            height: 20px;
            fill: #db6e6e;
        }
    }

    .name:hover {
        cursor: pointer;
        border-bottom: 1px solid #31aeed;
    }
    .tools{
        position: absolute;
        width: 120px;
        left: 420px;
        display: none;
        
        svg{
            cursor: pointer;
            width: 18px;
            fill: #767676;
            padding: 0 4px;
        }
    }
}

// .searchli:nth-child(1) {
//     margin-top: 20px;
// }

.searchli:nth-child(2n+1) {
    background: #f7f7f7;
}

.searchli:hover {
    background: #e7e7e7;
    border-radius: 4px;
    transition: .2s;
    .tools{
        display: block;
    }
    // border: 1px solid #d3d3d3;
    svg {
        fill: #db6e6e;
    }

    svg:hover {
        fill: #c20c0c;
    }
}

// 结果统计
.count {
    color: #99a6c4;
    font-size: 12px;
    line-height: 40px;
    letter-spacing: 1px;

    span {
        color: #c20c0c;
    }
}

.count::before {
    content: '';
    display: inline-block;
    height: 14px;
    width: 2px;
    background: #c20c0c;
}

// 歌手页面样式
.searchArtistContainer {
    display: flex;
    flex-wrap: wrap;
}

.searchliArtis {
    padding: 10px 21.5px;

    img {
        background-color: #cccccc;
        object-fit: cover;
        width: 120px;
        height: 120px;
        border-radius: 4px;
    }

    div {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    p {
        text-align: left;
        font-size: 12px;
        line-height: 14px;
        vertical-align: middle;
        max-width: 100px;
        color: #666666;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    svg {
        width: 20px;
        fill: #d91921;
    }

    .artistsname:hover {
        cursor: pointer;
        border-bottom: 1px solid #31aeed;
    }
}

// 专辑页面样式
.searchAlbumsContainer{
    display: flex;
    flex-wrap: wrap;
}
.searchliAlbums{
    padding: 10px 22px;
    img{
        background: #999999;
        cursor: pointer;
        object-fit: cover;
        width: 150px;
        height: 150px;
        border: 1px solid #7f7f7f;
        border-radius: 4px;
    }
    .name{
        text-align: left;
        font-size: 14px;
        line-height: 16px;
        max-width: 150px;
        color: #666666;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    .name:hover{
        cursor: pointer;
    }
    .artists{
        margin-top: 8px;
        display: inline-block;
        font-size: 12px;
        color: #9499a0;
        line-height: 16px;
        max-width: 150px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    .imgbox{
        position: relative;
    }
    .playicon{
        position: absolute;
        display: flex;
        justify-content: center;
        align-items: center;
        cursor: pointer;
        width: 150px;
        height: 150px;
        left: 1px;
        top: 1px;
        opacity: 0;
        svg{
            width: 35px;
            fill: #db6e6e;
        }
    }
    .playicon:hover{
        opacity: 1;
    }
}

// 视频页面样式
.searchVideosContainer{
    display: flex;
    flex-wrap: wrap;
}
.searchliVideos{
    position: relative;
    padding: 0 5px;
    margin-bottom: 30px;
    .mk{
        position: relative;
        display: block;
        cursor: pointer;
        width: 180px;
        height: 101px;
        margin-bottom: 15px;
        border-radius: 12px;
        overflow: hidden;
    }
    // 
    .playicon{
        transition: all .5s ease;
        position: absolute;
        width: 40px;
        top: calc(50% - 20px);
        left: calc(50% - 20px);
        opacity: 0;
        z-index: 2;
        fill: #f2f2f2;
    }
    .mk:hover{
        img{
            transform: scale(1.1);
            filter: blur(1px);
        }
        .playicon{
            transform: scale(1.1);
            opacity: .8;
        }
        .videosinfo{
            opacity: 0;
        }
    }
    img{
        transition: all .5s ease;
        background: #99a6c4;
        object-fit: cover;
        width: 180px;
        height: 101px;
        // height: ;
        
    }
    .name{
        font-size: 14px;
        line-height: 20px;
        max-width: 180px;
        cursor: pointer;
        
        display: flex;
        span{
            width: 150px;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }
        svg{
            width: 20px;
            height: 20px;
            margin-right: 5px;
            fill: #c20c0c;
        }
    }
    .nomvname{
        display: block;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    .creator{
        display: block;
        font-size: 12px;
        color: #9499a0;
        width: 180px;
        cursor: pointer;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        line-height: 16px;
    }

    .videosinfo{
        transition: all .5s ease;
        opacity: 1;
        z-index: 2;
        position: absolute;
        width: 180px;
        height: 30px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        bottom: 0px;
        left: 0px;
        background: linear-gradient(to top, rgba(0,0,0,.55) 0%, rgba(0,0,0,0.35) 25%, rgba(0,0,0,0.2) 50%, rgba(0,0,0,0.05) 75%, rgba(0,0,0,0) 100%);
        border-radius: 12px;
    }
    .durationms,.playTime{
        color: white;
        line-height: 18px;
        font-size: 12px;
        padding: 0 10px;
        border-radius: 30px 30px;
        
    }
    .playTime{
        display: flex;
        align-items: center;
        svg{
            padding-right: 4px;
            width: 16px;
        }
    }
}

// 歌词页面部分
.lyricsbox{
    width: 100%;
    // background: red;
    .ant-collapse{
        border: none;
        background: #fff;
    }
    .ant-collapse-item{
        border-bottom: none;
    }
    .ant-collapse-content{
        border-top: none;
    }
    .lyricsitem{
        text-align: left;
        padding-left: 24px;
        font-size: 14px;
        letter-spacing: 1px;
        line-height: 22px;
        color: #999999;
    }
    .ant-collapse-header-text{
        color: #999999;
    }
    .ant-collapse-header-text::after{
        content: '”';
        color: #db6e6e;
        font-size: 24px;
    }
    .ant-collapse-header-text::before{
        content: '“';
        color: #db6e6e;
        font-size: 24px;
    }
}

//  查询歌单页面 
.searchPlaylistcontainer{
    img{
        width: 40px;
        height: 40px;
        margin: 10px;
        border-radius: 50%;
        cursor: pointer;
        background: #cccccc;
    }
    .playlistinfo{
        position: absolute;
        color: #999999;
    }
    .trackCount{
        left: 700px;
    }
    .playCount{
        left: 870px;
    }
    .bookCount{
        left: 770px;
    }
}

// 搜索声音主播页面
.searchresourcecontainer{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    padding: 0 20px;
    .voiceitem{
        transition: all .5s ease;
        justify-content: space-between;
        margin: 20px 0;
        border-radius: 12px;
        width: 370px;
        display: flex;
        padding: 10px;
        border: 1px solid #e1e1e1;
    }
    .voiceitem:hover{
        box-shadow: 0 0 10px #e1e1e1;
    }
    .radioname{
        display: block;
    }
    .mk{
        position: relative;
        cursor: pointer;
        display: block;
        width: 120px;
        height: 120px;
        overflow: hidden;
        border-radius: 12px;
        img{
            object-fit: cover;
            background: #cccccc;
            width: 120px;
            height: 120px;
        }
    }
    .voiceinfo{
        position: relative;
        width: 230px;
    }
    .mainSongname{
        display: block;
        font-size: 14px;
        color: #999999;
        padding-top: 10px;
    }
    .adjustedPlayCount, .adjustedPlayCount + span{
        display: block;
        position: absolute;
        font-size: 14px;
        color: #999999;
    }
    .adjustedPlayCount{
        bottom: 0px;
        left: 0px;
    }
    .adjustedPlayCount + span{
        bottom: 0px;
        right: 0px;
    }
}

// 搜索用户页面
.searchusercontainer{
    .avatar{
        object-fit: cover;
        background: #999999;
        height: 50px;
        width: 50px;
        border-radius: 50%;
        margin: 15px 0 15px 20px;
        cursor: pointer;
    }
    .nickname{
        font-size: 14px;
        padding-left: 15px;
    }
    .identityIcon{
        width: 15px;
        padding-left: 10px;
    }
    .grandIcon{
        padding-left: 10px;
    }
    .searchli:nth-child(2n+1){
        background: #fff;
    }
    .searchli:hover{
        background: #e7e7e7
    };
    .usermainTop{
        height: 25px;
        display: flex;
        align-items: center;
    }
    // 签名
    .signature{
        line-height: 20px;
        max-width: 500px;
        display: block;
        padding-left: 15px;
        color: #999999;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    // 关注按钮
    .at{
        transition: all .5s ease;
        margin-left: auto;
        border-radius: 4px;
        padding: 6px 15px;
        border: 1px solid #db6e6e;
        letter-spacing: 2px;
        margin-right: 20px;
        color: #db6e6e;
        background: #fff;
    }
    .at:hover{
        box-shadow: 0 0 5px rgba(0, 0, 0, .4);
    }
}
    